package com.freewater.springboot.demo.contexthierarchy.demo2;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WebConfig1 {

    @Bean
    public WebComponent1 webComponent1() {
        return new WebComponent1();
    }
}
